@extends("layout.admin")

@section("title")
    这里是测试
@endsection

@section("content")
    {{--<script id="content" name="content" type="text/plain"></script>
    <script type="text/javascript" charset="utf-8" src="{{asset('vendor/ueditor/ueditor.config.js')}}"></script>
    <script type="text/javascript" charset="utf-8" src="{{asset('vendor/ueditor/ueditor.all.js')}}"> </script>
    <!-- 实例化编辑器 -->

    <script type="text/javascript">
        layui.use(['form'],function (){
            let form = layui.form
            let ue = UE.getEditor('content',{
                initialFrameHeight:350,//设置编辑器高度
                scaleEnabled:true//设置不自动调整高度
            });
            //实例化编辑器
            $("#sub").click(function (){
                let data = $('#form').serializeArray()
                console.log(data)
                return false;
            })
        })
    </script>--}}
@endsection
